package com.ydjk.service.impl;


import com.ydjk.common.utils.pageData.PageData;
import com.ydjk.mapper.JkMessageMapper;
import com.ydjk.service.JkMessageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 定时任务调度日志信息 服务层
 *
 * @author ruoyi
 */
@Service
public class JkMessageServiceImpl implements JkMessageService {
    @Autowired
    private JkMessageMapper jkMessageMapper;

    @Override
    public void toAddMessagePush(PageData params) {
        jkMessageMapper.insertJkInterfaceMessage(params);
    }

    @Override
    public List<PageData> selectHospitalizationList(PageData params) {
        return jkMessageMapper.selectHospitalizationList(params);
    }

    @Override
    public List<PageData> selectJkPushTemplateList(PageData params) {
        return jkMessageMapper.selectJkPushTemplateList(params);
    }
}
